Total Complexity | 10 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 124 |
Lines of code | 39 |
Logical lines of code | 18 |
Comment lines | 66 |
Methods | 6 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
to_response() | 62 | 2 | 12 | |
__construct() | 71 | 2 | 6 | |
from_exception() | 67 | 2 | 7 | |
unexpected_error() | 67 | 2 | 7 | |
get_default_code() | 82 | 1 | 3 | |
set_extra_error() | 77 | 1 | 4 |